package com.xcms.member;

import com.xcms.news.News;
import com.xcms.util.JDBCHelper;

public class UserDAO {
    public static boolean insert(User user){
        String sql="INSERT INTO user(name,pwd) VALUES (?,?)";
        int cout= JDBCHelper.update(sql,user.getName(),user.getPassword());
        return cout>0;
    }
}
